package com.qf.entity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * User: key
 * ClassName:User
 * Date: 2023/5/25
 * Time: 16:35
 * description:
 */
@Data
public class Emp{
    private Integer eno;
    private String ename;
    private String esex;
    private Double salary;
    private String pwd;
    private Integer dno;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date bornDate;
    private Dept deptObj;
}
